//
//  MovieDetailModel.m
//  豆瓣CollectionView
//
//  Created by kingbw on 16/1/29.
//  Copyright © 2016年 kingbw. All rights reserved.
//

#import "MovieDetailModel.h"

@implementation MovieDetailModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"images"]) {
        self.imageModel = [[ImageModel alloc] init];
        [self.imageModel setValuesForKeysWithDictionary:value];
    }
}


- (id)valueForUndefinedKey:(NSString *)key {
    return nil;
}



@end
